package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单明细对象 st_order_detail
 * 
 * @author ruoyi
 * @date 2024-07-08
 */
public class StOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 食品名称 */
    @Excel(name = "食品名称")
    private String foodname;

    /** 食品价格 */
    @Excel(name = "食品价格")
    private String foodprice;

    /** 食品数量 */
    @Excel(name = "食品数量")
    private String foodcount;

    /** 订购用户名称 */
    @Excel(name = "订购用户名称")
    private String username;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFoodname(String foodname) 
    {
        this.foodname = foodname;
    }

    public String getFoodname() 
    {
        return foodname;
    }
    public void setFoodprice(String foodprice) 
    {
        this.foodprice = foodprice;
    }

    public String getFoodprice() 
    {
        return foodprice;
    }
    public void setFoodcount(String foodcount) 
    {
        this.foodcount = foodcount;
    }

    public String getFoodcount() 
    {
        return foodcount;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("foodname", getFoodname())
            .append("foodprice", getFoodprice())
            .append("foodcount", getFoodcount())
            .append("username", getUsername())
            .toString();
    }
}
